#Makefile for s3c2440_leds.c

obj-m :=s3c2440_leds.o
KERNELDIR ?= /home/wang/arm/linux-2.6.12
PWD := $(shell pwd)
default:
	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
o:	
	arm-linux-gcc ledshow.c -o ledshow
clean:
	rm -rf .* *.cmd *.o *.mod.c *.symvers *.order
	
